aStr = input("请输入数字：")
a = int(aStr)
if(a == 0):
    print("red")
elif (a == 1):
    print("yellow")
else:
    print("green")

# 测试隐式条件表达式
if a : print("a > 0")